package com.bmps.springcloud.insuredmicroservice.config.mail;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @描述 ： 邮件配置
 * @Author :  zlc
 * @Date : 2019/10/18 14:52
 **/
@Configuration
@ConfigurationProperties(prefix = "mail-config")
public class MailConfig {
    
    private String environmental;
    private String from;
    private String [] recipient = null;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String[] getRecipient() {
        return recipient;
    }

    public void setRecipient(String[] recipient) {
        this.recipient = recipient;
    }

    public String getEnvironmental() {
        return environmental;
    }

    public void setEnvironmental(String environmental) {
        this.environmental = environmental;
    }
}
